﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using MonCorLib.Net.Service;


namespace MonCorLib.Net.Server
{
    public class MessengerServer : IServerable
    {
        private INetServerServiceable netService;


        public MessengerServer()
        {
            netService = NetServiceFactory.createServerService(NetServerServiceType.ServerSocket);
            netService.ConnectedClientEvent += new EventHandler<ClientEventArgs>(netService_ConnectedClientEvent);
        }

        public void start()
        {
            netService.start();
        }

        public void stop()
        {
            netService.stop();
        }

        void netService_ConnectedClientEvent(object sender, ClientEventArgs e)
        {
            
        }
    }
}
